From: Juri Linkov Date: Mon, 12 Apr 2004 04:46:13 +0000 (+0000) Subject: (Info-follow-reference): Allow multiline reference name. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~23267 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=d4901769b5d4a95561c66c7655ca9e34d0753e37;p=emacs.git (Info-follow-reference): Allow multiline reference name. --- diff --git a/lisp/info.el b/lisp/info.el index 4a05da999d4..34ec499d542 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -1840,7 +1840,8 @@ new buffer." (if (and (save-excursion (goto-char (+ (point) 5)) ; skip a possible *note (re-search-backward "\\*note[ \n\t]+" nil t) - (looking-at (concat "\\*note[ \n\t]+" (Info-following-node-name-re)))) + (looking-at (concat "\\*note[ \n\t]+" + (Info-following-node-name-re "^.,\t")))) (<= (point) (match-end 0))) (goto-char (match-beginning 0)))) ;; Go to the reference closest to point